//
//  GTSubCategory.m
//  GiftTalk
//
//  Created by Wan on 16/4/8.
//  Copyright © 2016年 Wan. All rights reserved.
//

#import "GTSubCategory.h"
#import <MJExtension.h>

@implementation GTSubCategory

+ (NSDictionary *)mj_replacedKeyFromPropertyName {
    return @{@"ID" : @"id"};
}

- (void)setIcon_url:(NSString *)icon_url {
    NSMutableString *tempStr = [NSMutableString stringWithString:icon_url];
    NSRange range = [tempStr rangeOfString:@"-pw144"];
    [tempStr deleteCharactersInRange:range];
    
    _icon_url = tempStr;
}

@end
